<template>
    <div class="app-container">
      <div style="text-align:center">
        <el-button type="primary" @click="prev()">上一步</el-button>
        <el-button type="primary" @click="next()">下一步</el-button>
      </div>
    </div>
</template>
<script>
    export default {
        data() {
            return {
            
            }
        },
        created() {
            
        },
        methods: {
            // 上一步
            prev() {
            this.$parent.active = 0
            },
            // 下一步
            next() {
            this.$parent.active = 2
            }
        }
    }
</script>
  <style scoped>
  .chapterList{
      position: relative;
      list-style: none;
      margin: 0;
      padding: 0;
  }
  .chapterList li{
    position: relative;
  }
  .chapterList p{
    float: left;
    font-size: 20px;
    margin: 10px 0;
    padding: 10px;
    height: 70px;
    line-height: 50px;
    width: 100%;
    border: 1px solid #DDD;
  }
  .chapterList .acts {
      float: right;
      font-size: 14px;
  }
  .videoList{
    padding-left: 50px;
  }
  .videoList p{
    float: left;
    font-size: 14px;
    margin: 10px 0;
    padding: 10px;
    height: 50px;
    line-height: 30px;
    width: 100%;
    border: 1px dashed #DDD;
  }
  </style>